package com.dongdongshop.service;

import com.dongdongshop.pojo.TbContentCategory;

import java.util.List;

public interface CategoryService {

    List<TbContentCategory> getAll(String name);

    int insert(TbContentCategory cate);

    TbContentCategory getById(Long id);

    int update(TbContentCategory cate);

    int delete(Long id);

    int deleteCheck(Long[] ids);
}
